<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
	<meta name="description" content="<?php echo get_setting('Meta Description'); ?>" />
	<meta name="keywords" content="<?php echo get_setting('Meta Keywords'); ?>" />
	<meta name="author" content="<?php echo get_setting('Author'); ?>" />
	<title><?php echo page_menu_title(); ?><?php echo bread_crumbs(' &raquo; ', true); ?><?php echo get_setting('Site Name'); ?></title>
	<link rel="stylesheet" type="text/css" href="<?php echo $theme_url ?>default.css" media="screen"/>
	<?php plugin('styles'); ?>
	<?php plugin('scripts'); ?>
</head>

<body>
<div class="wrapper">

	<div class="container">

		<div class="main">		
			
			<div class="content">

				<div class="title"><?php echo get_setting('Site Name'); ?></div>
				<p class="olive"><?php echo get_setting('Slogan'); ?></p>

				<h2><?php echo page_title(); ?></h2>
				<?php echo page_content(); ?>

			</div>

			<div class="sidenav">
				<?php echo sidebar('%s','<h2>%1$s</h2>%2$s', array("\n<ul id='nav'>\n%s\n</ul>\n"), array("\n<ul id='second-nav'>\n%s\n</ul>\n")); ?>
				<h2><?php echo static_content('Sidebar Title',"Sidebar Title","yes"); ?></h2>
				<div>
					<?php echo static_content('Sidebar Content',"<p>text goes here</p>"); ?>
				</div>
			</div>

			<div class="clearer"></div>

		</div>

		<div class="footer">

			<div class="left"><?php echo get_setting('Footer'); ?></div>
		
			<div class="right"><a href="http://templates.arcsin.se/">Website template</a> by <a href="http://arcsin.se/">Arcsin</a><br /><?php echo get_setting('Powered By'); ?>.<br/>Generated in <?php echo $page_generation_time; ?> seconds with <?php echo $GLOBALS['MYSQL_NUM_QUERIES'] ?> queries to the <?php echo (DB_USE == 'mysql' ? 'MySQL' : 'SQLite') ?> database. </div>

			<div class="clearer"><span></span></div>

		</div>

	</div>

</div>
<?php plugin('beforeBodyEnd'); ?>
</body>

</html>